package com.kuang.demo.mapper.acg;

import com.kuang.demo.bean.acgBeanVo.UserAddressVo;
import com.kuang.demo.bo.acg.Address;
import com.kuang.demo.bo.acg.AddressExample;
import com.kuang.demo.bo.acg.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author ACG
 * @date 2020-11-02 15:02
 */
public interface AddressMapper1 {
    List<UserAddressVo.ItemsBean> selectByName(@Param("name") String name);

    List<UserAddressVo.ItemsBean> selectByUserId(@Param("userId") String userId);

    List<UserAddressVo.ItemsBean> selectByNameAndUserId(@Param("name") String name, @Param("userId") String userId);

    List<UserAddressVo.ItemsBean> selectByExample();
}
